package com.xiaoma.tpo.domain;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable{

    /**
     * 
     */
    private static final long serialVersionUID = -3936430937505419438L;
    private Integer id;
    private String name;
    private String nickname;
    private String password;
    private String token;
    private Integer loginCount;
    private String registerFrom;
    private String loginFrom;
    private Date createdAt;
    private Date lastVisit;
    private String avatar;
    private String email;
    private String phone;
    private Date examDate;
    private Integer bonusPoint;
    private Integer role;
    private String description;
    private String tag;
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getNickname() {
        return nickname;
    }
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getToken() {
        return token;
    }
    public void setToken(String token) {
        this.token = token;
    }
    public Date getCreatedAt() {
        return createdAt;
    }
    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }
    public Date getLastVisit() {
        return lastVisit;
    }
    public void setLastVisit(Date lastVisit) {
        this.lastVisit = lastVisit;
    }
    public Integer getLoginCount() {
        return loginCount;
    }
    public void setLoginCount(Integer loginCount) {
        this.loginCount = loginCount;
    }
    public String getRegisterFrom() {
        return registerFrom;
    }
    public void setRegisterFrom(String registerFrom) {
        this.registerFrom = registerFrom;
    }
    public String getLoginFrom() {
        return loginFrom;
    }
    public void setLoginFrom(String loginFrom) {
        this.loginFrom = loginFrom;
    }
    public String getAvatar() {
        return avatar;
    }
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getExamDate() {
        return examDate;
    }

    public void setExamDate(Date examDate) {
        this.examDate = examDate;
    }
    public Integer getBonusPoint() {
        return bonusPoint;
    }
    public void setBonusPoint(Integer bonusPoint) {
        this.bonusPoint = bonusPoint;
    }
    public Integer getRole() {
        return role;
    }
    public void setRole(Integer role) {
        this.role = role;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public String getTag() {
        return tag;
    }
    public void setTag(String tag) {
        this.tag = tag;
    }
    
    
}
